package com.gxuwz.attendance.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.gxuwz.attendance.dao.RecordDao;
import com.gxuwz.attendance.entity.Record;
import com.gxuwz.attendance.service.RecordService;
import com.gxuwz.attendance.vo.Page;

@Service("RecordServiceImpl")
public class RecordServiceImpl implements RecordService{
	
	@Autowired
	private RecordDao recordDao;

	@Override
	public boolean update(Record record) {
		return recordDao.update(record);
	}

	@Override
	public boolean delete(String ids) {
		return recordDao.delete(ids);
	}

	@Override
	public List<Record> recordList(Record record, Page page) {
		return recordDao.recordList(record, page);
	}

}
